package com.houdoudou.customer.common;

import android.text.format.Time;

public class TimeUtil {

	public static int getCurrentMinute(){
		int  result=0;				 
		 Time t=new Time(); // or Time t=new Time("GMT+8"); 加上Time Zone资料
		 t.setToNow(); // 取得系统时间。 
		  int year = t.year; 
		  int month = t.month+1;
		  int date = t.monthDay;
		  int hour = t.hour;
		  int minute=t.minute;
		  result= hour*60+minute;
		  
		return result;
	}
	
}
